Ext.define('HardRental.store.desktop.TreePanel', {
    extend: 'Ext.data.TreeStore',
   /* proxy : {
            type : 'ajax',
            url :  '/cloud/menu/loadMenu.app'
    },*/
    root : {
            name : 'CommerceApp',
            id : '0',
            expanded : true,
			children: [
            {	
				"principalView":"principalView",
                "text": 'Child 1',
                "leaf": true
            },
            {
				principalView:"principalView",
                text: 'Child 2',
                leaf: true
            },{
				text: 'Child 3',
                expanded: true,
                children: [
                    {
						principalVie:"principalView",
                        text: 'Grandchild',
                        leaf: true
                    }
                ]
			}]
    },
    fields : [
        { name: 'name', type : 'string'}, 
        { name: 'text', type : 'string' }, 
        { name: 'id', type : 'int' }, 
        { name: 'leaf', type : 'boolean' }, 
        { name: 'classInit', type:'string' },
        { name: 'principalView', type:'string'}
    ]
});